class ChatFriendMessageEntity {
  ChatFriendMessageEntity({
      this.id, 
      this.userName, 
      this.nickName, 
      this.userSrc, 
      this.profileNo, 
      this.profileLevel, 
      this.profilePhoto, 
      this.profileCategory, 
      this.expireLevelTime, 
      this.memberExpire, 
      this.profilePoints, 
      this.realName, 
      this.realTitle, 
      this.realSex, 
      this.mobilePhone, 
      this.homeAddr, 
      this.workAddr, 
      this.maritalStatus, 
      this.childNum, 
      this.nativePlace, 
      this.nationality, 
      this.emailAddr, 
      this.fixedPhone, 
      this.openId, 
      this.regFlag, 
      this.singleState, 
      this.infoPer, 
      this.creditValue, 
      this.shareCode, 
      this.createUser, 
      this.updateUser, 
      this.incomeVal, 
      this.buyCar, 
      this.purchase, 
      this.domicilePlace, 
      this.edu, 
      this.weight, 
      this.height, 
      this.age, 
      this.introduce, 
      this.bornDate, 
      this.animalSign, 
      this.constellation, 
      this.upprLine, 
      this.offLine, 
      this.occipation, 
      this.school, 
      this.aat, 
      this.liveAddress, 
      this.nation, 
      this.isRealAuth, 
      this.signature, 
      this.religiousBelief, 
      this.taList, 
      this.favoriteCount, 
      this.favoriteFlag, 
      this.mcs, 
      this.csRemarks, 
      this.avatarList, 
      this.easeuserId, 
      this.photos, 
      this.photoWall, 
      this.createTime, 
      this.flist, 
      this.tlist, 
      this.fCount, 
      this.tCount, 
      this.taCount,});

  ChatFriendMessageEntity.fromJson(dynamic json) {
    id = json['id'];
    userName = json['userName'];
    nickName = json['nickName'];
    userSrc = json['userSrc'];
    profileNo = json['profileNo'];
    profileLevel = json['profileLevel'];
    profilePhoto = json['profilePhoto'];
    profileCategory = json['profileCategory'];
    expireLevelTime = json['expireLevelTime'];
    memberExpire = json['memberExpire'];
    profilePoints = json['profilePoints'];
    realName = json['realName'];
    realTitle = json['realTitle'];
    realSex = json['realSex'];
    mobilePhone = json['mobilePhone'];
    homeAddr = json['homeAddr'];
    workAddr = json['workAddr'];
    maritalStatus = json['maritalStatus'];
    childNum = json['childNum'];
    nativePlace = json['nativePlace'];
    nationality = json['nationality'];
    emailAddr = json['emailAddr'];
    fixedPhone = json['fixedPhone'];
    openId = json['openId'];
    regFlag = json['regFlag'];
    singleState = json['singleState'];
    infoPer = json['infoPer'];
    creditValue = json['creditValue'];
    shareCode = json['shareCode'];
    createUser = json['createUser'];
    updateUser = json['updateUser'];
    incomeVal = json['incomeVal'];
    buyCar = json['buyCar'];
    purchase = json['purchase'];
    domicilePlace = json['domicilePlace'];
    edu = json['edu'];
    weight = json['weight'];
    height = json['height'];
    age = json['age'];
    introduce = json['introduce'];
    bornDate = json['bornDate'];
    animalSign = json['animalSign'];
    constellation = json['constellation'];
    upprLine = json['upprLine'];
    offLine = json['offLine'];
    occipation = json['occipation'];
    school = json['school'];
    aat = json['aat'];
    liveAddress = json['liveAddress'];
    nation = json['nation'];
    isRealAuth = json['isRealAuth'];
    signature = json['signature'];
    religiousBelief = json['religiousBelief'];
    taList = json['taList'];
    favoriteCount = json['favoriteCount'];
    favoriteFlag = json['favoriteFlag'];
    mcs = json['mcs'] != null ? Mcs.fromJson(json['mcs']) : null;
    csRemarks = json['csRemarks'];
    avatarList = json['avatarList'];
    easeuserId = json['easeuserId'];
    if (json['photos'] != null) {
      photos = [];
      json['photos'].forEach((v) {
        photos?.add(Photos.fromJson(v));
      });
    }
    photoWall = json['photoWall'];
    createTime = json['createTime'];
    flist = json['flist'];
    tlist = json['tlist'];
    fCount = json['fCount'];
    tCount = json['tCount'];
    taCount = json['taCount'];
  }
  String? id;
  dynamic userName;
  String? nickName;
  String? userSrc;
  String? profileNo;
  dynamic profileLevel;
  String? profilePhoto;
  int? profileCategory;
  dynamic expireLevelTime;
  dynamic memberExpire;
  String? profilePoints;
  dynamic realName;
  int? realTitle;
  int? realSex;
  String? mobilePhone;
  dynamic homeAddr;
  dynamic workAddr;
  int? maritalStatus;
  dynamic childNum;
  dynamic nativePlace;
  String? nationality;
  dynamic emailAddr;
  dynamic fixedPhone;
  String? openId;
  int? regFlag;
  int? singleState;
  int? infoPer;
  double? creditValue;
  String? shareCode;
  String? createUser;
  dynamic updateUser;
  int? incomeVal;
  int? buyCar;
  int? purchase;
  String? domicilePlace;
  int? edu;
  int? weight;
  int? height;
  int? age;
  dynamic introduce;
  String? bornDate;
  String? animalSign;
  String? constellation;
  dynamic upprLine;
  dynamic offLine;
  dynamic occipation;
  dynamic school;
  int? aat;
  dynamic liveAddress;
  dynamic nation;
  int? isRealAuth;
  dynamic signature;
  int? religiousBelief;
  dynamic taList;
  dynamic favoriteCount;
  dynamic favoriteFlag;
  Mcs? mcs;
  dynamic csRemarks;
  dynamic avatarList;
  String? easeuserId;
  List<Photos>? photos;
  dynamic photoWall;
  String? createTime;
  dynamic flist;
  dynamic tlist;
  dynamic fCount;
  dynamic tCount;
  dynamic taCount;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['userName'] = userName;
    map['nickName'] = nickName;
    map['userSrc'] = userSrc;
    map['profileNo'] = profileNo;
    map['profileLevel'] = profileLevel;
    map['profilePhoto'] = profilePhoto;
    map['profileCategory'] = profileCategory;
    map['expireLevelTime'] = expireLevelTime;
    map['memberExpire'] = memberExpire;
    map['profilePoints'] = profilePoints;
    map['realName'] = realName;
    map['realTitle'] = realTitle;
    map['realSex'] = realSex;
    map['mobilePhone'] = mobilePhone;
    map['homeAddr'] = homeAddr;
    map['workAddr'] = workAddr;
    map['maritalStatus'] = maritalStatus;
    map['childNum'] = childNum;
    map['nativePlace'] = nativePlace;
    map['nationality'] = nationality;
    map['emailAddr'] = emailAddr;
    map['fixedPhone'] = fixedPhone;
    map['openId'] = openId;
    map['regFlag'] = regFlag;
    map['singleState'] = singleState;
    map['infoPer'] = infoPer;
    map['creditValue'] = creditValue;
    map['shareCode'] = shareCode;
    map['createUser'] = createUser;
    map['updateUser'] = updateUser;
    map['incomeVal'] = incomeVal;
    map['buyCar'] = buyCar;
    map['purchase'] = purchase;
    map['domicilePlace'] = domicilePlace;
    map['edu'] = edu;
    map['weight'] = weight;
    map['height'] = height;
    map['age'] = age;
    map['introduce'] = introduce;
    map['bornDate'] = bornDate;
    map['animalSign'] = animalSign;
    map['constellation'] = constellation;
    map['upprLine'] = upprLine;
    map['offLine'] = offLine;
    map['occipation'] = occipation;
    map['school'] = school;
    map['aat'] = aat;
    map['liveAddress'] = liveAddress;
    map['nation'] = nation;
    map['isRealAuth'] = isRealAuth;
    map['signature'] = signature;
    map['religiousBelief'] = religiousBelief;
    map['taList'] = taList;
    map['favoriteCount'] = favoriteCount;
    map['favoriteFlag'] = favoriteFlag;
    if (mcs != null) {
      map['mcs'] = mcs?.toJson();
    }
    map['csRemarks'] = csRemarks;
    map['avatarList'] = avatarList;
    map['easeuserId'] = easeuserId;
    if (photos != null) {
      map['photos'] = photos?.map((v) => v.toJson()).toList();
    }
    map['photoWall'] = photoWall;
    map['createTime'] = createTime;
    map['flist'] = flist;
    map['tlist'] = tlist;
    map['fCount'] = fCount;
    map['tCount'] = tCount;
    map['taCount'] = taCount;
    return map;
  }

}

class Photos {
  Photos({
      this.profilePhoto,});

  Photos.fromJson(dynamic json) {
    profilePhoto = json['profilePhoto'];
  }
  String? profilePhoto;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['profilePhoto'] = profilePhoto;
    return map;
  }

}

class Mcs {
  Mcs({
      this.searchValue, 
      this.createBy, 
      this.createTime, 
      this.updateBy, 
      this.updateTime, 
      this.remark, 
      this.params, 
      this.id, 
      this.memberId, 
      this.ageStart, 
      this.ageEnd, 
      this.heightCondition, 
      this.heightVal, 
      this.heightStart, 
      this.heightEnd, 
      this.weightCondition, 
      this.weightVal, 
      this.weightStart, 
      this.weightEnd, 
      this.edu, 
      this.domicilePlace, 
      this.marriageHistory, 
      this.nativePlace, 
      this.purchase, 
      this.buyCar, 
      this.incomeCondition, 
      this.incomeVal, 
      this.csRemarks, 
      this.liveAddress,});

  Mcs.fromJson(dynamic json) {
    searchValue = json['searchValue'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    remark = json['remark'];
    params = json['params'];
    id = json['id'];
    memberId = json['memberId'];
    ageStart = json['ageStart'];
    ageEnd = json['ageEnd'];
    heightCondition = json['heightCondition'];
    heightVal = json['heightVal'];
    heightStart = json['heightStart'];
    heightEnd = json['heightEnd'];
    weightCondition = json['weightCondition'];
    weightVal = json['weightVal'];
    weightStart = json['weightStart'];
    weightEnd = json['weightEnd'];
    edu = json['edu'];
    domicilePlace = json['domicilePlace'];
    marriageHistory = json['marriageHistory'];
    nativePlace = json['nativePlace'];
    purchase = json['purchase'];
    buyCar = json['buyCar'];
    incomeCondition = json['incomeCondition'];
    incomeVal = json['incomeVal'];
    csRemarks = json['csRemarks'];
    liveAddress = json['liveAddress'];
  }
  dynamic searchValue;
  dynamic createBy;
  dynamic createTime;
  dynamic updateBy;
  dynamic updateTime;
  dynamic remark;
  dynamic params;
  String? id;
  String? memberId;
  int? ageStart;
  int? ageEnd;
  dynamic heightCondition;
  dynamic heightVal;
  dynamic heightStart;
  dynamic heightEnd;
  dynamic weightCondition;
  dynamic weightVal;
  dynamic weightStart;
  dynamic weightEnd;
  dynamic edu;
  dynamic domicilePlace;
  dynamic marriageHistory;
  dynamic nativePlace;
  dynamic purchase;
  dynamic buyCar;
  dynamic incomeCondition;
  dynamic incomeVal;
  dynamic csRemarks;
  dynamic liveAddress;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['searchValue'] = searchValue;
    map['createBy'] = createBy;
    map['createTime'] = createTime;
    map['updateBy'] = updateBy;
    map['updateTime'] = updateTime;
    map['remark'] = remark;
    map['params'] = params;
    map['id'] = id;
    map['memberId'] = memberId;
    map['ageStart'] = ageStart;
    map['ageEnd'] = ageEnd;
    map['heightCondition'] = heightCondition;
    map['heightVal'] = heightVal;
    map['heightStart'] = heightStart;
    map['heightEnd'] = heightEnd;
    map['weightCondition'] = weightCondition;
    map['weightVal'] = weightVal;
    map['weightStart'] = weightStart;
    map['weightEnd'] = weightEnd;
    map['edu'] = edu;
    map['domicilePlace'] = domicilePlace;
    map['marriageHistory'] = marriageHistory;
    map['nativePlace'] = nativePlace;
    map['purchase'] = purchase;
    map['buyCar'] = buyCar;
    map['incomeCondition'] = incomeCondition;
    map['incomeVal'] = incomeVal;
    map['csRemarks'] = csRemarks;
    map['liveAddress'] = liveAddress;
    return map;
  }

}